import 'dart:convert';

// 回复报文类型
class BaseResponse<T> {
  BaseResponse({this.data, this.statusCode, this.message});
  T data;
  int statusCode;
  String message;

  @override
  String toString() {
    return data is Map ? jsonEncode(data) : data.toString();
  }
}
